import numpy as np
from data_deal.merger import rri_deal,singledetail_deal,singlework_deal

rri=r'D:\学习&科研\华为手表项目\华为数据\规律跑者数据样例\long_term\huawei-rr\1016_continuousrri.txt'
rri_df=rri_deal(rri)
print(rri_df)
rri_df.to_csv(r'D:\学习&科研\华为手表项目\华为数据\规律跑者数据样例\long_term_deal\huawei-rr\1016-rri.csv',index=False)




# singlework=r'D:\学习&科研\华为手表项目\华为数据\规律跑者数据样例\long_term\huawei-workouts\1016_singleworkouts.txt'
# singlework_df=singlework_deal(singlework)
# print(singlework_df)
# singlework_df.to_csv(r'D:\学习&科研\华为手表项目\华为数据\规律跑者数据样例\long_term_deal\huawei-workouts\1016-singleworkouts.csv',index=False)



# singledetail=r'D:\学习&科研\华为手表项目\华为数据\规律跑者数据样例\long_term\huawei-singledetail\1016_singleworkoutdetail.txt'
# singledetail_df=singledetail_deal(singledetail)
# print(singledetail_df)
# singledetail_df.to_csv(r'D:\学习&科研\华为手表项目\华为数据\规律跑者数据样例\long_term_deal\huawei-singledetail\1016-singledetail.csv',index=False)